package com.neusoft.cmsprojects.model;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**
 * TbArticle entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "tb_article", catalog = "cms")
public class TbArticle implements java.io.Serializable {

	// Fields

	private Integer CId;
	private String CTitle;
	private String CTitlee;
	private byte[] CContent;
	private byte[] CContente;
	private String CSortid;
	private String CCreator;
	private Date CCreatetime;
	private String CModifier;
	private Date CModifytime;

	// Constructors

	/** default constructor */
	public TbArticle() {
	}

	/** full constructor */
	public TbArticle(String CTitle, String CTitlee, byte[] CContent,
			byte[] CContente, String CSortid, String CCreator,
			Date CCreatetime, String CModifier, Date CModifytime) {
		this.CTitle = CTitle;
		this.CTitlee = CTitlee;
		this.CContent = CContent;
		this.CContente = CContente;
		this.CSortid = CSortid;
		this.CCreator = CCreator;
		this.CCreatetime = CCreatetime;
		this.CModifier = CModifier;
		this.CModifytime = CModifytime;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "increment")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "c_id", unique = true, nullable = false)
	public Integer getCId() {
		return this.CId;
	}

	public void setCId(Integer CId) {
		this.CId = CId;
	}

	@Column(name = "c_title", length = 256)
	public String getCTitle() {
		return this.CTitle;
	}

	public void setCTitle(String CTitle) {
		this.CTitle = CTitle;
	}

	@Column(name = "c_titlee", length = 256)
	public String getCTitlee() {
		return this.CTitlee;
	}

	public void setCTitlee(String CTitlee) {
		this.CTitlee = CTitlee;
	}

	@Column(name = "c_content")
	public byte[] getCContent() {
		return this.CContent;
	}

	public void setCContent(byte[] CContent) {
		this.CContent = CContent;
	}

	@Column(name = "c_contente")
	public byte[] getCContente() {
		return this.CContente;
	}

	public void setCContente(byte[] CContente) {
		this.CContente = CContente;
	}

	@Column(name = "c_sortid", length = 20)
	public String getCSortid() {
		return this.CSortid;
	}

	public void setCSortid(String CSortid) {
		this.CSortid = CSortid;
	}

	@Column(name = "c_creator", length = 20)
	public String getCCreator() {
		return this.CCreator;
	}

	public void setCCreator(String CCreator) {
		this.CCreator = CCreator;
	}

	@Column(name = "c_createtime", length = 0)
	public Date getCCreatetime() {
		return this.CCreatetime;
	}

	public void setCCreatetime(Date CCreatetime) {
		this.CCreatetime = CCreatetime;
	}

	@Column(name = "c_modifier", length = 20)
	public String getCModifier() {
		return this.CModifier;
	}

	public void setCModifier(String CModifier) {
		this.CModifier = CModifier;
	}

	@Column(name = "c_modifytime", length = 0)
	public Date getCModifytime() {
		return this.CModifytime;
	}

	public void setCModifytime(Date CModifytime) {
		this.CModifytime = CModifytime;
	}

}